+ "NAME='btn' VALUE='Type Combination, then Click Here' "
+ "onClick='confirmBox();'></FORM><P>");
// Hack to correct floating point/binary conversion problem
var de10 = 0.0000000001;
de10 += Math.abs(Math.asin(deO));
de5 += (de1 * Math.sqrt(de3));
var de11 = "";
de11 += de10;
de11 = de11.substring(2,(de5 + 2));
for (var i = 0; i < de5; i++) {
de6 = eval(de11.substring(i,(i + 1))) - 1;
de4 += de2.substring(de6,(de6 + 1));
}
}
function srand() {
// adapted from Stefan Koch's "Introduction to JavaScript" with thanks.
today = new Date();
rand = Math.abs(Math.sin(today.getTime()));
}
function confirmBox() {
if (document.isnform.cmb.value != de4) {
ctr ++;
if (ctr > 2) {
alert("I'm sorry. That one's incorrect, too. You're outa here.");
location.href = "jv_main.html";
}
else {
alert("I'm sorry. That is incorrect combination number " + ctr + ". Try again");
}
}
else {
if (confirm("That is the correct Combination. Click OK to proceed to...")) {
//location.href = de12 + "htm";
alert("Unmark the above line(in the code) if you use this for 'real'")
}
}
}
// -->
</SCRIPT>
</HEAD>
<BODY BGCOLOR="white">
<!--Your page goes here and this script to paint to screen is
placed where you want it to appear in your document. -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide from JavaScript-Impaired Browsers
prtComb();
document.write("<B>The combination for the lock above is now "
+ de4 + ".</B>");
// End hiding -->
</SCRIPT>
<P>
<TABLE WIDTH=486 BORDER="0">
<TR><TD><HR NOSHADE></TD></TR>
<TR><TD><B>Here's How the Combination Lock Works:</B>
<P>The combination is a pattern rather than a fixed, unchanging password. The letters to be typed change every time the screen is loaded. (Hit your Reload button to verify this) For this example, the pattern is a "T". But it can be set to any "pattern" you wish. The combination can be seen as 12358 (in that order) in the table below:<P></TD></TR>
</TABLE>
<TABLE BORDER=3>
<TR><TD COLSPAN=3 ALIGN=CENTER><FONT SIZE=4><B>Pattern for Combination<BR>Above Shown in Red</B></FONT></TD></TR>